package com.yy.wga.mp.module.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.wga.mp.module.admin.request.AdminOrderUpgradePageRequest;
import com.yy.wga.mp.module.admin.response.AdminOrderDeliveryAddressSaveRequest;
import com.yy.wga.mp.module.admin.response.AdminOrderUpgradePageResponse;
import com.yy.wga.mp.module.order.entity.pojo.OrderUpGradeDO;

import javax.validation.Valid;

/**
 * 升级礼包商品订单信息(OrderUpGrade)表服务接口
 *
 * @author guochao
 * @since 2024-12-21 14:56:57
 */
public interface OrderUpGradeService extends IService<OrderUpGradeDO> {
    /**
     * 修改订单
     * @param update
     */
    void updateInfo(OrderUpGradeDO update);

    /**
     * 分页
     * @param request
     * @return
     */
    PageBean<AdminOrderUpgradePageResponse> pageData(@Valid AdminOrderUpgradePageRequest request);

    /**
     * 发货
     * @param request
     */
    void delivery(@Valid AdminOrderDeliveryAddressSaveRequest request);

    /**
     * 导出
     * @param request
     */
    void export(AdminOrderUpgradePageRequest request);
}
